type TFlowState = 'edit' | 'view';

const flowState = ref<TFlowState>('edit');

export const useFlow = () => {
  const setFlowState = (state: TFlowState) => {
    flowState.value = state;
  };

  return {
    flowState,
    setFlowState
  };
};
